package javabook.ch08;

public class ExceptionError1_01 {
       
		public static void main(String[] args){
                try{
                        a();
                }
                catch(ArrayIndexOutOfBoundsException e){
                        System.out.println("============");
                        System.out.println("ArrayIndexOutOfBoundsException Ã³¸®·çÆ¾");
                        System.out.println(e +"¹ß»ý");
                        
                }
                
        }
        static void a(){
                try{
                        throw new NullPointerException("³ÎÆ÷ÀÎÅÍ ¿¹¿Ü");
                }catch(NullPointerException e){
                        System.out.println("NullPointerException Ã³¸® ·çÆ¾");
                        System.out.println(e +"¹ß»ý");
                        throw new ArrayIndexOutOfBoundsException("¹è¿­ Ã·ÀÚ ¿¹¿Ü");
                }
        }

}

